home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13400 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  637 b 

  1. Path: news.hughes.net!usenet
  2. From: Bill Lund <wlund@ccis.com>
  3. Newsgroups: comp.lang.c
  4. Subject: I need random number function that returns a number between x and i ?
  5. Date: Sat, 06 Apr 1996 11:42:58 -0800
  6. Organization: Hughes Network Access Systems
  7. Message-ID: <3166C942.2D8@ccis.com>
  8. NNTP-Posting-Host: dialup102.ccis.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win16; I)
  13.  
  14. I need random number function that returns a number between x and i ?
  15. Something like :
  16. int randomer(int x , int i).
  17.  
  18. And returns a random number  between x and i.
  19.  
  20. Please help.
  21.  
  22. Derek Lund
  23.